home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- if the timer > 1800 then
- startTimer()
- change_all()
- end if
- updateStage()
- go(the frame)
- end
-
- on mouseDown
- global board_list
- set i to the clickLoc
- set h to (the locH of i - 11) / 70
- set v to (the locV of i - 6) / 70
- set n to h + (v * 4) + 1
- if h < 0 then
- return
- end if
- if h > 3 then
- return
- end if
- if v < 0 then
- return
- end if
- if v > 3 then
- return
- end if
- move_me(getAt(board_list, n), h, v)
- end
-